package co.th.bjc.md.service.interfaces;

import java.io.InputStream;
import java.math.BigDecimal;
import java.util.List;

import co.th.bjc.md.dao.Images;
import co.th.bjc.md.dao.Product;
import co.th.bjc.md.dao.Supplier;

public interface ProductManageService {
	public InputStream getImgBlob(Integer id);
	public boolean addImg(List<Images> listImg);  
	public List<Product> getAllProduct(String productName, BigDecimal supplierCode);
	public Product getEditProduct(BigDecimal id);
	public List<Supplier> getAllSupplier();
	public boolean addProduct(Product prod);
	public boolean removeProduct(BigDecimal id);
	public boolean editProduct(Product prod);
	public boolean removeImage(Integer id);
}
